<!doctype html>
<html lang="en">
 <head> 
  <meta charset="UTF-8"> 
  <meta name="description" content="燎火的个人博客"> 
  <meta name="keyword" content="燎火,qq799378666,软件开发,java,c#,js,html,html5,css"> 
  <title>HTML 全局属性</title> 
  <script src="/js/jquery-1.11.1.min.js"></script> 
  <script src="/js/bootstrap-3.3.5/js/bootstrap.js"></script> 
  <link href="/js/bootstrap-3.3.5/css/bootstrap.css" rel="stylesheet"> 
  <script src="/js/base.js"></script> 
  <script src="/js/nav.js"></script> 
  <script src="/js/jquery.toTop.min.js"></script> 
  <link href="/style/article.css" rel="stylesheet"> 
 </head> 
 <body> 
  <div id="main"> 
   <h3 id="title">HTML 全局属性</h3> 
   <div id="content">
    <p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; border: 0px; line-height: 18px;">HTML 属性赋予元素意义和语境。</p>
    <p style="margin-top: 12px; margin-bottom: 0px; padding: 0px; border: 0px; line-height: 18px;">下面的全局属性可用于任何 HTML 元素。</p>
    <h2 style="margin: 0px; padding: 0px; border: 0px; font-family: 微软雅黑; font-size: 14px;">HTML 全局属性</h2>
    <p class="html5_new_note" style="margin-top: 12px; margin-bottom: 0px; padding: 0px 0px 0px 20px; border: 0px; background: url(&quot;/i/html5_new_note.png&quot;) left top no-repeat rgb(255, 255, 255); line-height: 18px;">= HTML5 中添加的属性。</p>
    <table class="dataintable" width="708">
     <tbody style="margin: 0px; padding: 0px; border: 0px;">
      <tr style="margin: 0px; padding: 0px; border: 0px;" class="firstRow">
       <th style="margin: 0px; padding-right: 15px; padding-left: 6px; border-color: rgb(170, 170, 170); vertical-align: baseline; background-color: rgb(213, 213, 213); text-align: left; width: 226.2px;">属性</th>
       <th style="margin: 0px; padding-right: 15px; padding-left: 6px; border-color: rgb(170, 170, 170); vertical-align: baseline; background-color: rgb(213, 213, 213); text-align: left;">描述</th>
      </tr>
      <tr style="margin: 0px; padding: 0px; border: 0px;">
       <td style="margin: 0px; padding: 6px 15px 6px 6px; border-color: rgb(170, 170, 170); vertical-align: text-top; background-color: rgb(239, 239, 239);"><a href="http://www.w3school.com.cn/tags/att_standard_accesskey.asp" title="HTML accesskey 属性" style="margin: 0px; padding: 0px; border: 0px; color: rgb(144, 11, 9); background: transparent;">accesskey</a></td>
       <td style="margin: 0px; padding: 6px 15px 6px 6px; border-color: rgb(170, 170, 170); vertical-align: text-top; background-color: rgb(239, 239, 239);">规定激活元素的快捷键。</td>
      </tr>
      <tr style="margin: 0px; padding: 0px; border: 0px;">
       <td style="margin: 0px; padding: 6px 15px 6px 6px; border-color: rgb(170, 170, 170); vertical-align: text-top; background-color: rgb(239, 239, 239);"><a href="http://www.w3school.com.cn/tags/att_standard_class.asp" title="HTML class 属性" style="margin: 0px; padding: 0px; border: 0px; color: rgb(144, 11, 9); background: transparent;">class</a></td>
       <td style="margin: 0px; padding: 6px 15px 6px 6px; border-color: rgb(170, 170, 170); vertical-align: text-top; background-color: rgb(239, 239, 239);">规定元素的一个或多个类名（引用样式表中的类）。</td>
      </tr>
      <tr style="margin: 0px; padding: 0px; border: 0px;">
       <td class="html5_new" style="margin: 0px; padding: 6px 15px 6px 6px; border-color: rgb(170, 170, 170); vertical-align: text-top; background: url(&quot;/i/table_bg_html5.gif&quot;) right top no-repeat rgb(239, 239, 239);"><a href="http://www.w3school.com.cn/tags/att_global_contenteditable.asp" title="HTML contenteditable 属性" style="margin: 0px; padding: 0px; border: 0px; color: rgb(144, 11, 9); background: transparent;">contenteditable</a></td>
       <td style="margin: 0px; padding: 6px 15px 6px 6px; border-color: rgb(170, 170, 170); vertical-align: text-top; background-color: rgb(239, 239, 239);">规定元素内容是否可编辑。</td>
      </tr>
      <tr style="margin: 0px; padding: 0px; border: 0px;">
       <td class="html5_new" style="margin: 0px; padding: 6px 15px 6px 6px; border-color: rgb(170, 170, 170); vertical-align: text-top; background: url(&quot;/i/table_bg_html5.gif&quot;) right top no-repeat rgb(239, 239, 239);"><a href="http://www.w3school.com.cn/tags/att_global_contextmenu.asp" title="HTML contextmenu 属性" style="margin: 0px; padding: 0px; border: 0px; color: rgb(144, 11, 9); background: transparent;">contextmenu</a></td>
       <td style="margin: 0px; padding: 6px 15px 6px 6px; border-color: rgb(170, 170, 170); vertical-align: text-top; background-color: rgb(239, 239, 239);">规定元素的上下文菜单。上下文菜单在用户点击元素时显示。</td>
      </tr>
      <tr style="margin: 0px; padding: 0px; border: 0px;">
       <td class="html5_new" style="margin: 0px; padding: 6px 15px 6px 6px; border-color: rgb(170, 170, 170); vertical-align: text-top; background: url(&quot;/i/table_bg_html5.gif&quot;) right top no-repeat rgb(239, 239, 239);"><a href="http://www.w3school.com.cn/tags/att_global_data.asp" title="HTML data-* 属性" style="margin: 0px; padding: 0px; border: 0px; color: rgb(144, 11, 9); background: transparent;">data-*</a></td>
       <td style="margin: 0px; padding: 6px 15px 6px 6px; border-color: rgb(170, 170, 170); vertical-align: text-top; background-color: rgb(239, 239, 239);">用于存储页面或应用程序的私有定制数据。</td>
      </tr>
      <tr style="margin: 0px; padding: 0px; border: 0px;">
       <td style="margin: 0px; padding: 6px 15px 6px 6px; border-color: rgb(170, 170, 170); vertical-align: text-top; background-color: rgb(239, 239, 239);"><a href="http://www.w3school.com.cn/tags/att_standard_dir.asp" title="HTML dir 属性" style="margin: 0px; padding: 0px; border: 0px; color: rgb(144, 11, 9); background: transparent;">dir</a></td>
       <td style="margin: 0px; padding: 6px 15px 6px 6px; border-color: rgb(170, 170, 170); vertical-align: text-top; background-color: rgb(239, 239, 239);">规定元素中内容的文本方向。</td>
      </tr>
      <tr style="margin: 0px; padding: 0px; border: 0px;">
       <td class="html5_new" style="margin: 0px; padding: 6px 15px 6px 6px; border-color: rgb(170, 170, 170); vertical-align: text-top; background: url(&quot;/i/table_bg_html5.gif&quot;) right top no-repeat rgb(239, 239, 239);"><a href="http://www.w3school.com.cn/tags/att_global_draggable.asp" title="HTML draggable 属性" style="margin: 0px; padding: 0px; border: 0px; color: rgb(144, 11, 9); background: transparent;">draggable</a></td>
       <td style="margin: 0px; padding: 6px 15px 6px 6px; border-color: rgb(170, 170, 170); vertical-align: text-top; background-color: rgb(239, 239, 239);">规定元素是否可拖动。</td>
      </tr>
      <tr style="margin: 0px; padding: 0px; border: 0px;">
       <td class="html5_new" style="margin: 0px; padding: 6px 15px 6px 6px; border-color: rgb(170, 170, 170); vertical-align: text-top; background: url(&quot;/i/table_bg_html5.gif&quot;) right top no-repeat rgb(239, 239, 239);"><a href="http://www.w3school.com.cn/tags/att_global_dropzone.asp" title="HTML dropzone 属性" style="margin: 0px; padding: 0px; border: 0px; color: rgb(144, 11, 9); background: transparent;">dropzone</a></td>
       <td style="margin: 0px; padding: 6px 15px 6px 6px; border-color: rgb(170, 170, 170); vertical-align: text-top; background-color: rgb(239, 239, 239);">规定在拖动被拖动数据时是否进行复制、移动或链接。</td>
      </tr>
      <tr style="margin: 0px; padding: 0px; border: 0px;">
       <td class="html5_new" style="margin: 0px; padding: 6px 15px 6px 6px; border-color: rgb(170, 170, 170); vertical-align: text-top; background: url(&quot;/i/table_bg_html5.gif&quot;) right top no-repeat rgb(239, 239, 239);"><a href="http://www.w3school.com.cn/tags/att_global_hidden.asp" title="HTML hidden 属性" style="margin: 0px; padding: 0px; border: 0px; color: rgb(144, 11, 9); background: transparent;">hidden</a></td>
       <td style="margin: 0px; padding: 6px 15px 6px 6px; border-color: rgb(170, 170, 170); vertical-align: text-top; background-color: rgb(239, 239, 239);">规定元素仍未或不再相关。</td>
      </tr>
      <tr style="margin: 0px; padding: 0px; border: 0px;">
       <td style="margin: 0px; padding: 6px 15px 6px 6px; border-color: rgb(170, 170, 170); vertical-align: text-top; background-color: rgb(239, 239, 239);"><a href="http://www.w3school.com.cn/tags/att_standard_id.asp" title="HTML id 属性" style="margin: 0px; padding: 0px; border: 0px; color: rgb(144, 11, 9); background: transparent;">id</a></td>
       <td style="margin: 0px; padding: 6px 15px 6px 6px; border-color: rgb(170, 170, 170); vertical-align: text-top; background-color: rgb(239, 239, 239);">规定元素的唯一 id。</td>
      </tr>
      <tr style="margin: 0px; padding: 0px; border: 0px;">
       <td style="margin: 0px; padding: 6px 15px 6px 6px; border-color: rgb(170, 170, 170); vertical-align: text-top; background-color: rgb(239, 239, 239);"><a href="http://www.w3school.com.cn/tags/att_standard_lang.asp" title="HTML lang 属性" style="margin: 0px; padding: 0px; border: 0px; color: rgb(144, 11, 9); background: transparent;">lang</a></td>
       <td style="margin: 0px; padding: 6px 15px 6px 6px; border-color: rgb(170, 170, 170); vertical-align: text-top; background-color: rgb(239, 239, 239);">规定元素内容的语言。</td>
      </tr>
      <tr style="margin: 0px; padding: 0px; border: 0px;">
       <td class="html5_new" style="margin: 0px; padding: 6px 15px 6px 6px; border-color: rgb(170, 170, 170); vertical-align: text-top; background: url(&quot;/i/table_bg_html5.gif&quot;) right top no-repeat rgb(239, 239, 239);"><a href="http://www.w3school.com.cn/tags/att_global_spellcheck.asp" title="HTML spellcheck 属性" style="margin: 0px; padding: 0px; border: 0px; color: rgb(144, 11, 9); background: transparent;">spellcheck</a></td>
       <td style="margin: 0px; padding: 6px 15px 6px 6px; border-color: rgb(170, 170, 170); vertical-align: text-top; background-color: rgb(239, 239, 239);">规定是否对元素进行拼写和语法检查。</td>
      </tr>
      <tr style="margin: 0px; padding: 0px; border: 0px;">
       <td style="margin: 0px; padding: 6px 15px 6px 6px; border-color: rgb(170, 170, 170); vertical-align: text-top; background-color: rgb(239, 239, 239);"><a href="http://www.w3school.com.cn/tags/att_standard_style.asp" title="HTML style 属性" style="margin: 0px; padding: 0px; border: 0px; color: rgb(144, 11, 9); background: transparent;">style</a></td>
       <td style="margin: 0px; padding: 6px 15px 6px 6px; border-color: rgb(170, 170, 170); vertical-align: text-top; background-color: rgb(239, 239, 239);">规定元素的行内 CSS 样式。</td>
      </tr>
      <tr style="margin: 0px; padding: 0px; border: 0px;">
       <td style="margin: 0px; padding: 6px 15px 6px 6px; border-color: rgb(170, 170, 170); vertical-align: text-top; background-color: rgb(239, 239, 239);"><a href="http://www.w3school.com.cn/tags/att_standard_tabindex.asp" title="HTML tabindex 属性" style="margin: 0px; padding: 0px; border: 0px; color: rgb(144, 11, 9); background: transparent;">tabindex</a></td>
       <td style="margin: 0px; padding: 6px 15px 6px 6px; border-color: rgb(170, 170, 170); vertical-align: text-top; background-color: rgb(239, 239, 239);">规定元素的 tab 键次序。</td>
      </tr>
      <tr style="margin: 0px; padding: 0px; border: 0px;">
       <td style="margin: 0px; padding: 6px 15px 6px 6px; border-color: rgb(170, 170, 170); vertical-align: text-top; background-color: rgb(239, 239, 239);"><a href="http://www.w3school.com.cn/tags/att_standard_title.asp" title="HTML title 属性" style="margin: 0px; padding: 0px; border: 0px; color: rgb(144, 11, 9); background: transparent;">title</a></td>
       <td style="margin: 0px; padding: 6px 15px 6px 6px; border-color: rgb(170, 170, 170); vertical-align: text-top; background-color: rgb(239, 239, 239);">规定有关元素的额外信息。</td>
      </tr>
      <tr style="margin: 0px; padding: 0px; border: 0px;">
       <td class="html5_new" style="margin: 0px; padding: 6px 15px 6px 6px; border-color: rgb(170, 170, 170); vertical-align: text-top; background: url(&quot;/i/table_bg_html5.gif&quot;) right top no-repeat rgb(239, 239, 239);"><a href="http://www.w3school.com.cn/tags/att_global_translate.asp" title="HTML translate 属性" style="margin: 0px; padding: 0px; border: 0px; color: rgb(144, 11, 9); background: transparent;">translate</a></td>
       <td style="margin: 0px; padding: 6px 15px 6px 6px; border-color: rgb(170, 170, 170); vertical-align: text-top; background-color: rgb(239, 239, 239);">规定是否应该翻译元素内容。</td>
      </tr>
     </tbody>
    </table>
    <ul class="prenext list-paddingleft-2" style="padding: 0px; border: 0px; height: 29px; width: 230px; background: url(&quot;/ui/bg.gif&quot;) 0px -570px no-repeat transparent; position: relative;">
     <li><p><a href="http://www.w3school.com.cn/tags/html_ref_byfunc.asp" title="HTML 4.01 / XHTML 1.0 参考手册" style="margin: 0px; padding: 0px; border: 0px; text-decoration: none; color: rgb(144, 11, 9); background: transparent; display: block; height: 29px; text-indent: -9999px;">标签列表（功能排序）</a></p></li>
     <li><p><a href="http://www.w3school.com.cn/tags/html_ref_eventattributes.asp" title="HTML 事件属性" style="margin: 0px; padding: 0px; border: 0px; text-decoration: none; color: rgb(144, 11, 9); background: transparent; display: block; height: 29px; text-indent: -9999px;">HTML 事件</a></p></li>
    </ul>
    <p style="margin-top: 0px; padding: 0px; border: 0px;">SEARCH:</p>
    <p style="margin-top: 0px; padding: 0px; border: 0px;"><br></p>
    <p style="margin-top: 0px; padding: 0px; border: 0px;">&nbsp;</p>
    <h5 style="margin: 0px 0px 12px; padding: 0px; border: 0px; overflow: hidden; text-indent: -9999px; width: 112px; height: 68px;"><a href="http://www.w3school.com.cn/tags/index.asp" style="margin: 0px; padding: 0px; border: 0px; text-decoration: none; color: rgb(144, 11, 9); background: url(&quot;/ui/bg.gif&quot;) 0px -320px no-repeat transparent; display: block; width: 112px; height: 68px;">HTML 参考手</a></h5>
    <p><br></p>
   </div> 
  </div>  
 </body>
</html>